cmake_minimum_required(VERSION 2.8)
project(svar_sockpp)

include(PICMake)
set(CMAKE_CXX_STANDARD 11)
if(NOT CMAKE_BUILD_TYPE)
  set(CMAKE_BUILD_TYPE Release)
endif()

include_directories(src)
pi_add_target(svar_sockpp SHARED src REQUIRED System GSLAM)
pi_add_target(demo_sockpp BIN demo.cpp REQUIRED System GSLAM)

pi_report_target()

# Now do make install
pi_install(TARGETS svar_sockpp)
